import { Component, ViewChild} from '@angular/core';

import { HomePage } from '../home/home';
import { NativeHome } from '../native/nativehome/native-home';
import { ContactPage } from '../contact/contact';
import {XinWen} from "../xinwen/xinwen";

import {Tabs} from "ionic-angular";

@Component({
  templateUrl: 'tabs.html'
})
export class TabsPage {

  @ViewChild('mainTabs') tabs:Tabs;

  // this tells the tabs component which Pages
  // should be each tab's root Page
  tab1Root: any = HomePage;
  tab2Root: any = NativeHome;
  tab3Root: any = ContactPage;
  tab4Root: any = XinWen;

  constructor() {

  }
}
